package test.bdc;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import static org.easymock.EasyMock.*;

public class ServletTestBase {
	protected HttpServletRequest mockHttpServletRequest;
	protected HttpServletResponse mockHttpServletResponse;
	protected RequestDispatcher mockRequestDispatcher;
	protected ServletConfig mockServletConfig;
	protected ServletContext mockServletContext;
	
	public void setup() {
		mockHttpServletRequest = createMock(HttpServletRequest.class);
		mockHttpServletResponse = createMock(HttpServletResponse.class);
		mockServletConfig = createMock(ServletConfig.class);
		mockRequestDispatcher = createMock(RequestDispatcher.class);
		mockServletContext = createMock(ServletContext.class);
	}
}
